<template>
  <el-input v-model="value" :type="type" placeholder="" clearable />
</template>
<script setup lang="ts" name="Input">
import { computed } from "vue";
import { Cus } from "../formConfig";
const props = defineProps<Cus>();
const emit = defineEmits(["update:modelValue"]);

const value = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emit("update:modelValue", value);
  }
});
</script>
<style scoped lang="scss"></style>
